﻿using System.Collections.Generic;

namespace HobSoft.SoccerBet2014.Domain.Common.Service
{
    using Domain.DataService;
    using Domain.IRepositories;
    using Domain.Models;
    public class BfEventDataService : IBfEventDataService
    {
        private readonly IBFAccountRepository accountRepository;
        public BfEventDataService(IBFAccountRepository _accountRepository)
        {
            accountRepository = _accountRepository;
        }

        public bool UpdateSessionToke(BFAccount account)
        {
            accountRepository.AddOrUpdate(account);
            return true;
        }
    }
}
